package opn.srn.common.script;

public class ScriptInfo {
	String type;
	String code;

	public ScriptInfo(String type, String code) {
		super();
		this.type = type;
		this.code = code;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	@Override
	public Object clone() throws CloneNotSupportedException {
		return new ScriptInfo(type, code);
	}
}
